home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / modulog / RCS / modulog.man,v < prev   
Encoding:
Text File  |  1988-12-30  |  3.5 KB  |  152 lines

  1. head     1.3;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @@;
  7.  
  8.  
  9. 1.3
  10. date     88.12.30.09.59.40;  author ouster;  state Exp;
  11. branches ;
  12. next     1.2;
  13.  
  14. 1.2
  15. date     88.12.22.10.11.39;  author ouster;  state Exp;
  16. branches ;
  17. next     1.1;
  18.  
  19. 1.1
  20. date     88.12.22.10.08.47;  author ouster;  state Exp;
  21. branches ;
  22. next     ;
  23.  
  24.  
  25. desc
  26. @@
  27.  
  28.  
  29. 1.3
  30. log
  31. @More format upgrades.
  32. @
  33. text
  34. @' $Header: /a/newcmds/modulog/RCS/modulog.man,v 1.2 88/12/22 10:11:39 ouster Exp Locker: ouster $ SPRITE (Berkeley)
  35. .so \*(]ltmac.sprite
  36. .HS MODULOG cmds
  37. .BS
  38. .SH NAME
  39. modulog \- Modify the user log
  40. .SH SYNOPSIS
  41. \fBmodulog\fR [\fIoptions\fR]
  42. .SH OPTIONS
  43. .IP "\fB\-help\fR" 15
  44. Print a summary of the command-line options and exit.
  45. .IP "\fB\-C\fR"
  46. Clear all login entries for the current host.
  47. .IP "\fB\-p \fIport\fR"
  48. Port number to use when recording or invalidating a login.
  49. .IP "\fB\-i\fR"
  50. Invalidate the login entry for the current host on the specified port.
  51. .IP "\fB\-u \fIuser\f"
  52. User for whom to create a login entry.  (Defaults to current user.)
  53. .IP "\fB\-l \fIlocation\fR"
  54. Generate a new login entry, with the user's location specified by this
  55. argument. 
  56. .BE
  57.  
  58. .SH INTRODUCTION
  59. .PP
  60. This program allows modification of the user log.  The caller must
  61. have write-access to the log database files.  \fBModulog\fR is typically
  62. used at boot time to invalidate old login entries.  It can also be
  63. used to invalidate particular entries for the host on which it is
  64. invoked, or create new ones.
  65. .PP
  66. If the \fB\-C\fR switch is given, then \fBmodulog\fR will invalidate login
  67. entries.  Otherwise, if the \fB\-i\fR and \fB\-p\fP switches are given,
  68. \fBmodulog\fR will invalidate only the entry corresponding to the port
  69. specified by the \fB\-p\fP switch.   Finally, if the \fB-p\fP,
  70. and \fB-l\fP switches are used together, a new login
  71. entry will be recorded, as if \fIuser\fP logged in from \fIlocation\fP
  72. on /hosts/`hostname`/dev/rlogin\fIport\fP at the time \fBmodulog\fR is run.
  73. To generate a login record for the console, specify a  \fIport\fP of
  74. 0 and a location of ``''.
  75. \fIUser\fP defaults to the user invoking the \fBmodulog\fR program.
  76. .FILES
  77. .IP /sprite/admin/data/userLog
  78. The database of current logins on each host.
  79. .IP /sprite/admin/data/lastLog
  80. The database of each user's most recent login.
  81. .IP /hosts/`hostname`/dev/rlogin*
  82. Pseudo-devices used by Rlogin, corresponding to ports 1 and beyond.
  83. .SH KEYWORDS
  84. login, user log, modify
  85. .SH SEE ALSO
  86. db, ulog, login, rlogin, rlogind
  87. @
  88.  
  89.  
  90. 1.2
  91. log
  92. @Updates to new official man format.
  93. @
  94. text
  95. @d1 1
  96. a1 1
  97. ' $Header: /a/newcmds/modulog/RCS/modulog.man,v 1.1 88/12/22 10:08:47 ouster Exp Locker: ouster $ SPRITE (Berkeley)
  98. d10 1
  99. a10 1
  100. .IP "\fB-help\fR" 15
  101. d12 1
  102. a12 1
  103. .IP "\fB-C\fR"
  104. d14 1
  105. a14 1
  106. .IP "\fB-p \fIport\fR"
  107. d16 1
  108. a16 1
  109. .IP "\fB-i\fR"
  110. d18 1
  111. a18 1
  112. .IP "\fB-u \fIuser\f"
  113. d20 1
  114. a20 1
  115. .IP "\fB-l \fIlocation\fR"
  116. d28 1
  117. a28 1
  118. have write-access to the log database files.  Modulog is typically
  119. d33 5
  120. a37 5
  121. If the \fB-C\fR switch is given, then Modulog will invalidate login
  122. entries.  Otherwise, if the \fB-i\fR and \fB-p\fP switches are given,
  123. Modulog will invalidate only the entry corresponding to the port
  124. specified by the \fB-p\fP switch.   Finally, if the \fB"-p"\fP,
  125. and \fB"-l"\fP switches are used together, a new login
  126. d39 1
  127. a39 1
  128. on /hosts/`hostname`/dev/rlogin\fIport\fP at the time Modulog is run.
  129. d41 2
  130. a42 2
  131. 0 and a location of "".
  132. \fIUser\fP defaults to the user invoking the Modulog program.
  133. @
  134.  
  135.  
  136. 1.1
  137. log
  138. @Initial revision
  139. @
  140. text
  141. @d1 3
  142. a3 2
  143. ' $Header: modulog,v 1.1 88/09/23 13:00:48 douglis Exp $ SPRITE (Berkeley)
  144. .TH modulog cmds
  145. d5 1
  146. a5 1
  147. .NA
  148. d7 1
  149. a7 1
  150. .SY
  151. @
  152.